package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@Component
@FeignClient("gulimall-order")
public interface OrderFeignService {

    //查出当前用户的所有订单信息
    @PostMapping("/order/order/listWithItem")
     R listWithItem(@RequestBody Map<String ,Object> params);
}
